using LogService.Interface;

namespace LogService;
public class TimestampLogger(ILogger logger) : ILoggerObserver
{
    public void Update(string message)
    {
        logger.Log(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + " " + message);
    }
}
